{extend name='template/base'}{/extend}
{block name='title'}{/block}
{block name='style'}{/block}
{block name='script'}{/block}
{block name='footer'}{/block}
{block name='content'}
    <header class="header">
        <div>
            <a class="goback"><i class="iconfont icon-zuoyoujiantou-copy-copy-copy"></i></a>
            提现
        </div>
    </header>
    <div id="pages" class="pages">
        <div class="mui-input-group">
            <div class="mui-input-row">
                <label>提现金额</label>
                <input type="number" name="money" id="money" placeholder="请输入（元）">
            </div>
        </div>
        <div class="color-primary"  style="padding: 11px 15px;">可提现金额{$info.money}元</div>
        <footer  class="btn-bottom">
            <a @tap.stop="withdraw()">确认提现</a>
        </footer>
    </div>
{/block}
{block name='script_extra'}
<script>
    var balance="{$info['money']}";
    var withdraw_submit_url="{:url('user/account/withdraw_submit')}";
    var redirect_url="{:url('user/Account/index')}";
    require(['user/account/withdraw'])
</script>
{/block}